Carbon


Lg2PhysProcPtr

Header: FSM.h Carbon status: Unsupported

typedef OSErr(* Lg2PhysProcPtr) (
    void *fsdGlobalPtr, 
    VCBPtr volCtrlBlockPtr, 
    FCBRecPtr fileCtrlBlockPtr, 
    SInt16 fileRefNum, 
    UInt32 filePosition, 
    UInt32 reqCount, 
    UInt32 *volOffset, 
    UInt32 *contiguousBytes
);

You would declare your function like this if you were to name it MyLg2PhysCallback:

OSErr MyLg2PhysCallback (
    void *fsdGlobalPtr, 
    VCBPtr volCtrlBlockPtr, 
    FCBRecPtr fileCtrlBlockPtr, 
    SInt16 fileRefNum, 
    UInt32 filePosition, 
    UInt32 reqCount, 
    UInt32 *volOffset, 
    UInt32 *contiguousBytes
);
function result

A result code.


© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)